#include "chatwidget.h"
#include <QTextEdit>

ChatWidget::ChatWidget(QWidget *parent) :
    QWidget(parent)
{
    setGeometry(200,200,400,400);

    m_showEdit = new QTextEdit(this);
    m_showEdit->setGeometry(0,0,400,250);
    m_sendEdit = new QTextEdit(this);
    m_sendEdit->setGeometry(0,280,400,110);
}

void ChatWidget::closeEvent(QCloseEvent *)
{
    emit closeevent();
}
